import express from "express";
import routers from "./routers/index";
import bodyparser from "body-parser";

let app = express();
app.use(
  bodyparser.urlencoded({
    extended: true,
  })
);

app.use("/", routers);

app.listen(3000, () => {
  console.log("服务器运行在3000端口上");
});
